package com.ruyuan.eshop.diplomacy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruyuan.eshop.diplomacy.domain.entity.FrontCategoryDO;
import com.ruyuan.eshop.diplomacy.domain.entity.FrontCategoryRelationDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 前台类目
 *
 * @author zhonghuashishan
 */
@Mapper
public interface FrontCategoryMapper extends BaseMapper<FrontCategoryDO> {
    /**
     * 根据前端类目查询对应的商品列表
     * @param frontCategoryIds
     * @return
     */
    List<FrontCategoryRelationDO> queryFrontCategoryList(@Param("frontCategoryIds")List<Long> frontCategoryIds );

}